<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<f:view xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	xmlns:util="http://java.sun.com/jsf/composite/util">
	<ui:composition template="/views/layouts/mainPublic.xhtml">
	<ui:define name="content">
		<h:form id="formPrincipal">
			<div class="grid_18">
				<util:home action="#{solicitacaoCadastroBean.goHome}"/>
				<p:commandButton icon="ui-icon ui-icon-help" style="float:right" type="button" onclick="alert('teste')"/>
			</div>
			<div class="grid_18 div-label">
				<br/>
				<h:outputLabel rendered="#{solicitacaoCadastroBean.flagNovoCliente}" styleClass="label" 
					value="#{i18n.SolicitacaoCadastro_Sucesso_ClienteUsuario}" />
				<h:outputLabel rendered="#{!solicitacaoCadastroBean.flagNovoCliente}" styleClass="label" 
					value="#{i18n.SolicitacaoCadastro_Sucesso_Usuario}" />
			</div>
			<util:label value="#{i18n.SolicitacaoCadastro_Sucesso_LabelChecarEmail}" />
			<util:label value="#{i18n.SolicitacaoCadastro_Sucesso_Agradecimento}" />
		</h:form>
	</ui:define>
	</ui:composition>
</f:view>